package com.wzy.service.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wzy.common.base.result.R;
import com.wzy.service.user.dto.PerfectInformationParam;
import com.wzy.service.user.dto.RegisterParam;
import com.wzy.service.user.dto.vo.UserInformationQueryVo;
import com.wzy.service.user.entity.UserInformation;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuzhengyu
 * @since 2021-03-13
 */
public interface UserInformationService extends IService<UserInformation> {

    R getVerificationCode(String phone);

    R register(RegisterParam userParam);

    R loginPassword(String username, String password);

    R perfectInformation(PerfectInformationParam param);

    R loginVerification(String phone, String code);

    IPage<UserInformation> selectPage(Long page, Long limit, UserInformationQueryVo userInformationQueryVo);

    List<UserInformation> exceptAdminList();
}
